Hi Bob,
Does it hang when downloading or when it runs? Could provide more information on exactly what you are doing? How many KFlops do you have? Why are you using 5 threads? What are you using to download the programs? Maybe post your program.
Regards
TK
Group: DynoMotion |
Message: 3686 |
From: Bob Burig |
Date: 2/3/2012 |
Subject: Re: KFlop hangs when downloading file. Compiles OK. |
TK, It hangs when downloading. I am using the KFlop sequence at the top of the window to Compile, Download, and Run. If it downloads successfully and I run it, the system runs properly. I have 2 KFlops that communicate weirdly. I let the programmer go and I am making simple program changes myself. It is a lens polishing, cleaning, and hard coat applier. There are two KFlops, Bd0 and Bd1. Bd 1 has a Kanalog. Main thread, Board 0 thread 1, is the main thread and has all the motion control. That is the thread I am having problem with. Everything was OK until I added a long sequence of moves to simulate a sine wave. The sequence runs OK if it downloads OK. I can post the motion program tomorrow if would help. Bob From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes Sent: Thursday, February 02, 2012 5:07 PM To: DynoMotion@yahoogroups.com Subject: Re: [DynoMotion] KFlop hangs when downloading file. Compiles OK. Does it hang when downloading or when it runs? Could provide more information on exactly what you are doing? How many KFlops do you have? Why are you using 5 threads? What are you using to download the programs? Maybe post your program. This started after I added a series of moves. It did download once or twice, but not all the time. I can save and compile only. To clear it I must power down the system and restart both Kflops with 5 threads. Am I asking too much of the compiler?
|
|
Group: DynoMotion |
Message: 3688 |
From: Tom Kerekes |
Date: 2/3/2012 |
Subject: Re: KFlop hangs when downloading file. Compiles OK. |
Hi Bob,
Maybe the program is just too big. When you compile it prints the size. Each thread is 64KBytes. If you don't use the next Thread then you can overflow into it. Also Thread #7 is bigger at 5x64KBytes. If you overflow into the next Thread while that Thread is running it may cause KFLOP to crash.
Please post the program if size is not the problem.
Regards
TK
Group: DynoMotion |
Message: 3692 |
From: Bob Burig |
Date: 2/3/2012 |
Subject: Re: KFlop hangs when downloading file. Compiles OK. |
TK Thanks for that TK. I removed some parts of the program to reduce the size to fewer than 64K and it downloads OK now. I have a 2nd thread on this KFlop. If I move my large program to thread 7, can I leave thread 2 where it is? Bob From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes Sent: Friday, February 03, 2012 11:51 AM To: DynoMotion@yahoogroups.com Subject: Re: [DynoMotion] KFlop hangs when downloading file. Compiles OK. Maybe the program is just too big. When you compile it prints the size. Each thread is 64KBytes. If you don't use the next Thread then you can overflow into it. Also Thread #7 is bigger at 5x64KBytes. If you overflow into the next Thread while that Thread is running it may cause KFLOP to crash. Please post the program if size is not the problem. It hangs when downloading. I am using the KFlop sequence at the top of the window to Compile, Download, and Run. If it downloads successfully and I run it, the system runs properly. I have 2 KFlops that communicate weirdly. I let the programmer go and I am making simple program changes myself. It is a lens polishing, cleaning, and hard coat applier. There are two KFlops, Bd0 and Bd1. Bd 1 has a Kanalog. Main thread, Board 0 thread 1, is the main thread and has all the motion control. That is the thread I am having problem with. Everything was OK until I added a long sequence of moves to simulate a sine wave. The sequence runs OK if it downloads OK. I can post the motion program tomorrow if would help. Does it hang when downloading or when it runs? Could provide more information on exactly what you are doing? How many KFlops do you have? Why are you using 5 threads? What are you using to download the programs? Maybe post your program. This started after I added a series of moves. It did download once or twice, but not all the time. I can save and compile only. To clear it I must power down the system and restart both Kflops with 5 threads. Am I asking too much of the compiler?
|
|
Group: DynoMotion |
Message: 3693 |
From: TK |
Date: 2/3/2012 |
Subject: Re: KFlop hangs when downloading file. Compiles OK. |
Yes
TK On Feb 3, 2012, at 10:40 AM, "Bob Burig" <bburig@...> wrote:
TK Thanks for that TK. I removed some parts of the program to reduce the size to fewer than 64K and it downloads OK now. I have a 2nd thread on this KFlop. If I move my large program to thread 7, can I leave thread 2 where it is? Bob Maybe the program is just too big. When you compile it prints the size. Each thread is 64KBytes. If you don't use the next Thread then you can overflow into it. Also Thread #7 is bigger at 5x64KBytes. If you overflow into the next Thread while that Thread is running it may cause KFLOP to crash. Please post the program if size is not the problem. It hangs when downloading. I am using the KFlop sequence at the top of the window to Compile, Download, and Run. If it downloads successfully and I run it, the system runs properly. I have 2 KFlops that communicate weirdly. I let the programmer go and I am making simple program changes myself. It is a lens polishing, cleaning, and hard coat applier. There are two KFlops, Bd0 and Bd1. Bd 1 has a Kanalog. Main thread, Board 0 thread 1, is the main thread and has all the motion control. That is the thread I am having problem with. Everything was OK until I added a long sequence of moves to simulate a sine wave. The sequence runs OK if it downloads OK. I can post the motion program tomorrow if would help. Does it hang when downloading or when it runs? Could provide more information on exactly what you are doing? How many KFlops do you have? Why are you using 5 threads? What are you using to download the programs? Maybe post your program. This started after I added a series of moves. It did download once or twice, but not all the time. I can save and compile only. To clear it I must power down the system and restart both Kflops with 5 threads. Am I asking too much of the compiler?
|
|
Group: DynoMotion |
Message: 3702 |
From: Bob Burig |
Date: 2/3/2012 |
Subject: Re: KFlop hangs when downloading file. Compiles OK. |
TK, Thanks for the help. All is well with 84K in Thread 7. This is prototype and final program will be structured differently. Bob From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of TK Sent: Friday, February 03, 2012 1:44 PM To: DynoMotion@yahoogroups.com Subject: Re: [DynoMotion] KFlop hangs when downloading file. Compiles OK. On Feb 3, 2012, at 10:40 AM, "Bob Burig" <bburig@...> wrote:
TK Thanks for that TK. I removed some parts of the program to reduce the size to fewer than 64K and it downloads OK now. I have a 2nd thread on this KFlop. If I move my large program to thread 7, can I leave thread 2 where it is? Bob Maybe the program is just too big. When you compile it prints the size. Each thread is 64KBytes. If you don't use the next Thread then you can overflow into it. Also Thread #7 is bigger at 5x64KBytes. If you overflow into the next Thread while that Thread is running it may cause KFLOP to crash. Please post the program if size is not the problem. It hangs when downloading. I am using the KFlop sequence at the top of the window to Compile, Download, and Run. If it downloads successfully and I run it, the system runs properly. I have 2 KFlops that communicate weirdly. I let the programmer go and I am making simple program changes myself. It is a lens polishing, cleaning, and hard coat applier. There are two KFlops, Bd0 and Bd1. Bd 1 has a Kanalog. Main thread, Board 0 thread 1, is the main thread and has all the motion control. That is the thread I am having problem with. Everything was OK until I added a long sequence of moves to simulate a sine wave. The sequence runs OK if it downloads OK. I can post the motion program tomorrow if would help. Does it hang when downloading or when it runs? Could provide more information on exactly what you are doing? How many KFlops do you have? Why are you using 5 threads? What are you using to download the programs? Maybe post your program. This started after I added a series of moves. It did download once or twice, but not all the time. I can save and compile only. To clear it I must power down the system and restart both Kflops with 5 threads. Am I asking too much of the compiler?
|
|
| | | |